package com.nclg.exam.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
public class LoginDto {

    @NotEmpty(message = "用户名不能为空")
    private String uAccount;

    @NotEmpty(message = "密码不能为空")
    private String uPassword;
}
